using System;

namespace hemsidan.Helpers
{
	/// <summary>
	/// Summary description for Settings.
	/// </summary>
	public class Settings
	{
		private Settings()
		{
		}

		public static string ConnStr
		{
			get 
			{
				return System.Configuration.ConfigurationManager.AppSettings["ConnString"];
			}
		}

		public static string ActiveStyleSheet
		{
			get 
			{
                return System.Configuration.ConfigurationManager.AppSettings["ActiveStyleSheet"];
			}
		}

		public static string VirtualRoot
		{
			get 
			{
                return System.Configuration.ConfigurationManager.AppSettings["VirtualRoot"];
			}
		}

        public static string URL
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["URL"];
            }
        }
        public static string SiteTitle
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["SiteTitle"];
            }
        }
		public static string GalleryRoot
		{
			get 
			{
                return System.Configuration.ConfigurationManager.AppSettings["GalleryRoot"];
			}
		}
		public static string GalleryFolder
		{
			get 
			{
                return System.Configuration.ConfigurationManager.AppSettings["GalleryFolder"];
			}
		}
		public static string DBType
		{
			get 
			{
                return System.Configuration.ConfigurationManager.AppSettings["DBType"];
			}
		}

        public static int BlogStartYear
        {
            get
            {
                return int.Parse(System.Configuration.ConfigurationManager.AppSettings["BlogStartYear"]);
            }
        }
	}
}

